package cn.tedu.charging.order.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class OrderAddParam {
    //@NotBlank(message = "用户id不能为空")
    //@NotEmpty(message = "用户id不能为空")
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id")
    Long userId;
    @NotNull(message = "充电桩id不能为空")
    @ApiModelProperty(value = "充电桩编号")
    Integer pileId;
    @NotNull(message = "充电枪id不能为空")
    @ApiModelProperty(value = "充电枪编号")
    Integer gunId;
}
